AGPUSH-550 : Generate Registration Code Snippets