Rewrite view loading so that template library requirements get loaded before tilt.