Fixed HeaderInfo constructor that was accidently modified when merging generic scan API