Fixed failures on Travis.