Trying to fix the type inference error on Travis CI