removeType

Now if a single element is removed, returns the val, not
an array