Deprecated method updated