Added instance parameter for delete method