Added Error class for malformed objects representation