Beginning of C++ object registration w/ JS scripts