Old console wrapper from an old attempt.