Restrict do-end from catching hashes