Oh, sorry. I've merged it and fixed an unbalanced `#endif`.
I compared function definition parts with method registration parts and found unbalanced `#endif`. :-)