Added config.EnableQuerySupport();