Support specifying a directory of templates for a controller.