extract bindings to classes