Expose token and reason at the top level again