remove Class.prototype... boilerplate code; fix doc