fill in mongoose model
zap dead code
toward 1.4 compat