if no key is defined, aren't these checks for .blank? going to result in a NameError for an unknown constant?