Part one of irc overhaul.