Added definitions for all API methods