Added pop and fixed remove method for Lists.