Fix to use get_attribute.
Fix to reject operating systems that we don't use and remove the old REGEX_MAP.
Further spec fixes.