Fleshing out the actions api.