Tidy up add_hosts example