Fix travis yml and imports.