Deprecated method being replaced by the new one.