If no explicit model is passed to an inner template, inherit the parent's.