Compile fixes for my last commit, and regenerated scripting bindings.