Changed klass to obj in Delete method