Structural features, others than packages, for protecting a device against environmental influences