trying to squash warnings.

--as-cran giving warnings. S3 method consistency. blah blah blah.