Added snippet helpers for demo