Prototype of GetType method