return the prototype on inheritPrototype

just for convenience and since it doesn't increase complexity.

closes #165