Add functionality to dynamically switch Hash implementation.