Added a comment to describe reason for NameError rescuing in core_ext.