Fix access for inner class. Apparently, Groovy 2.x became more strict.