Added lots more example code.