fix some comments
Change custom function to deleteSelf in example