fixing bug where late bindings caused classes to get `var` definitions

closes gh-109