Converted for groovy 2.3.0-rc1