Eliminating magic numbers in UrlHostDao class