Class hierarchy implementing the chain of responsibility pattern and used during parsing of the file, IFD and image header.