Added mongoose definitions