class A: chainable add and delete methods