Fix case for type names