Adding database expiration engine.