Trashing AbstractEntity.lookupResourceType()