Removes deprecated method.