move hashable support to pkg directory