Variable $attr is no longer used