Make model details available to templates