Removes useless list construction