Remove useless steps.