Generic snippet support. Unlike previous versions of snippet