Use up-to-date struct syntax in example