contains(), add(), remove() methods added.