Add future import; remove unnecssary lines in compat.py