Change explain() to S3 method