Make the hash_type argument optional