Correctly decode frames.