Use x instead of object for S3 method plot
Removed NULL/is.null() checks to missing() checks for function arguments
Removed NULL/is.null() checks to missing() checks for function arguments