more doc and removed the ability to expose class methods to the api