Added inheritance and API methods