This was some of the scariest code in the entire project. Good riddance.