Component type registration is now automatic. Removed all the now unnecessary type registration code