Clean up get_view and improve commenting.