Set mongoose safe
Set mongoose safe
Minor cleanup