Allow decode in several passes.