Adding functional groovy abstractions to fnz