Improve python 2.7 support + fix for latest eve version.