Add snippet support.