Added support for projections to the MongoDB backend.