Adding enum for Actions, and optional "pending" value