Removed previous mask elements and its code.