Added string formatting and changed examples.