Use prototypical inheritance
Convert spec to CoffeeScript