Added preferences for host and enableVisits.