ivy: add some doc comments