Fix deprecation typo