Update to add ref as cpp keyword