add support for custom options in mongo storage