Add some API methods