Make gController not global.