Change 'snippet' to 'snippets' in mapping.