Updated documentation with examples