Change the action field to use the actual enumeration type instead of int