Optional name in type registration will be grabbed from <type>.name.