Removing redundant code.