Add parsing() context manager and deprecate the optional parameters of parse()