Made NameError reporting more verbose.