Looks like this if block is unnecessary.