Cleaning up the host entries.