Added examples with Property injection and Factory