Removed the debugging stuff that I left in last commit because I'm a numpty.