Fix this horrible indentation mess... remove pointless exports from prepare()