Work around groovy bug