Prototypes -- delegation versus inheritance