Parsley-firefox made object-oriented. Fixed doctests