Added more comprehensive documentation & examples.