Added the remove redundant part.