Adapt .dataset to static method only.