Mechanical and electronic assemblies