Removed getTypeId because it was useless