Fix usage of deprecated name