Make new keword optional for constructor
Added new keyword to example