Define methods on object, not prototype.