I agree, using property named `action` to switch template doesn't seem right.