Added mongoose support.