Change messaging example projects to use auto-registration