Constructors with prototypical inheritence