Added definitions to api interfaces