Agreed, this code seems unnecessary.