Add struct methods examples