This is not python 2.6 compatible. but if we're only supporting groovy and higher that should be ok.