Added title property to Example attribute
Updated generate example to new format