Fixed wrapping of virtual overloaded operators.

References #389.