Whoops, left some debugging code in there.