Fixed one deprecation.