Hong's pull request: AIC for logistic regression & as.data.frame methods