De-duplicate input assemblies, fixing #36.