Ensured that ModelComponent.type\types attributes are being set correctly.