Method list of ObjectWrapper not correct terminated in C implementation.