Use S3 methods in pls.  Condense calculations a bit.