Reformatted doco and updated example