Add ContextTopType/AsstTopType classes and deserializers.