Mutable documents and improved mongo queries.