Implementation of S3 method for summary.lm