Are they still inhabited? If not perhaps a long screwdriver and a vacuum to get them out. If the occupants are still there, place the machine head in a plastic trash bag with some wasp killer sprayed on the bottom of the bag and seal it for a couple of days. Then use the screwdriver and vacuum. Use rubber gloves to clean if you went the bug spray route.