Work around lack of '__objclass__' on instance methods in PyPy3.
Add support for Python 3.4, PyPy, and PyPy3.