Hide operator>> to work around SWIG 3.0.0 bug.

See SWIG bug https://sourceforge.net/p/swig/bugs/1365/
Closes #780.