This is a real PITA.