restrict type names and give them C-like names