Corrected the deprecation message. Thanks to hekevintran for the report!