Fix issue with 2.7 breaking.