Add a missing event.

Add the missing event for register the AttributeTypeFactory.