Is this how they were doing it in earlier versions (before the deprecation warning was added)?

Could we get away with just killing the `warn` on line 395?