Added addAssembly and clearAssembly