Expect the deprecation warning