Added methods and comments and descriptions from baseapi.cpp