Remove some unneeded code noticed while looking at StylePendingImage