Passing in the correct plugin context when calling check_params().