Merge "Adding setup_frame() function."