Change AutoConnect from int to bool.