removed last bit of logic from HashFactoryBase