Refactor decoders to include what media types they can operate on