Fixed another deprecation message