Fix so gevent doesn't throw warnings.