reduce params setting to allow users to set own param types in config.