small updates in type registration