Perform creation and deletion through callback.