Remove pointless code