Fix syntax requiring 2.7+