add basic methods to api class