Define Object Methods inside class vs. added to prototype