Allow empty snippet name or code