deprecate action_ function.