Use remove method for repo delete

Calling delete on an instance of Repo calls delete from the parent class. The parent class delete method doesn't expect the arguments being passed in the format the old example uses. Example should use `remove` instead of `delete`.