Add snippet end support