Add API method