Removes deprecated class