Renamed some stuff for clarity. Class prototypes.