Add MongoDB data access functionality.