Prepare code for displaying overviews.