Replaced deprecated method.
1 file changed