Return self from Parameters.parse.
Add missing import of tempfile.