Fixed incorrect clearing of arguments and parameters.