What's the purpose of embedding functions like this? Also, I'd prefer to put methods on the prototype where possible; not defined in the constructor. We should only put methods in the constructor if we're rewriting them from the prototype. The reason for this is for inheritance.