Update AssemblyFactory references to use AssemblyDefinition