Use formats and handlers rather than passing format via template name