Removes some pointless work