Put in option to maintain pattern hashes.