Added method delete(T obj) that deletes the object passed as parameter.