Wasn't getType static? I don't think it really matters if it's a function sometimes.