     
     init?(fromElement element: AEXMLElement) {
         // When the element is an error, don't create the copyright instance.
-        guard !element.isError else { return nil }
+        if element.errored { return nil }
         
         year = element["year"].optionalIntValue
         license = element["license"].optionalValue

extension AEXMLElement {
    
    var optionalValue: String? {
        if isError {
            return nil
        }
        return value
    }
    
    var optionalIntValue: Int? {
        if isError {
            return nil
        }
        return intValue
    }
    
    var isError: Bool {
        return name == AEXMLElement.errorElementName
    }
    

    
    init?(fromElement element: AEXMLElement) {
        // When the element is an error, don't create the link instance.
        if element.errored { return nil }
        
        name = element["name"].optionalValue
        email = ""
