Support a shorter way of defining status code handler templates.