Implemented selection registration and removeTerm.