Move declarations to teleop/autonomousInit functions for organization.