Added examples and updated formatting.