Revert "Combat 'Reference errors' in 'define' function sniffing"

This reverts commit 9dd1075e01a0899bde7c244f8c7be913315138fb.