restored cppbind (lightweight macro-based method) support