Get rid of this magic.