Groovy migration for FraudService