Add remove method for objects