Reformatted documentation and example