Fix typo in example init method