Added unfolding to NamedFrameDecoder