Added error for empty assemblies.