Removed the deprecated method.