Include access to model in template

Change-Id: I7fe3a43148e3915a27359444db7f4f06041ea1e0