Add some methods to API interface.