byte-0 should be byte-2
annotaion -> annotation
Only act on valid encoding declarations.
Remove duplicate "details" and "noframes".