Overmolded housings for electronic device