Enclosures for module components