Added type checking of parameters and introduced config.isolationMode