template has been renamed to theme

to be consistent with other view logic