I can register structs, but function registration doesn't work, I get preprocessor errors. Such as:  Also, is it possible to implement member functions for the struct types?