Turns out that method from 421f635c4ed0922d022ced03d48b93c005cca242 is deprecated lol.