Use prototypical inheritance.