Fix controllers to comply phpBB 3.1-RC2.