Added hashing functions, local and external IP lookups.