Added remove() method to config container classes to remove contained elements