Added some API methods