Removal operation in PI. Unfinished.