GROOVY-6524: Implicit closure coercion conflicts with DGM methods