Fixed a "python not found" issue mentioned in #18.
Untangled the logic between Binding and Def.