Add additional dependencies for _TemplatedMixin.