Various homeless code.