Add dependency check.
Split DictXXX classes to dictf.py