Using the constructor prototype to distinguish constructors