It was on the prototype for this.  I agree, if it's static getType is fine, but if its not I'd prefer having a properties rather than get/set functions.