Started working on proper prototypical inheritance.