Compatibility with latest mongorest.