Addressing compatibility error on Travis-CI.