Revert most of 1911554cc476f459b41d26627ed4035c58b11aee because Ruby < 1.9.3 can't handle :print: correctly.