Add some basic API methods