Override as_view instead of dispatch