Fix issue with 'getType'