Fix C++ misunderstandings

Thanks to DarthGandalf for pointing them out.
Turn the callbacks into static methods

OtrOps have been made static as well. Thanks to DarthGandalf for
suggesting this.