Add expires support to mongo adapter.