Support active_module datastore options

See #3302.