Added getter for API object