Added access to more calls. Also created stronger checking of descriptionformat and cohorttype fields.