Was using old groovy declaration