deprecate API.executeAction (close #252)
change API.executeAction in core code