Added interface for insert, remove and reverse.