Add two more functions, refine examples
Fix documentation