How does this work? Shouldn't it be `getType()`?