Preparing the API methods model methods