S3methods

Not sure I'm doing this right... it's just a one-line fix in as.data.frame.R, but github is displaying lots of diffs.