Remove scope so this snippet can be uses anywhere.