Added a Locate snippet.