Implemented format-agnostic decoding