add basic method to the MehodTable.
Add _DictWrapper class,  for represents Hist/Pmf.