Removed a deprecated method call