Better defined the Action api.