Removed throw statements. Added %S, %t and examples.