Just a generic base class for apis