Changed to object-literal definition using Object.create rather than prototype declaration