Deprecate direct_to_template