Move error to top-level.