Conversion of some Prototype Classes into regular JavaScript prototype classes.