QA: Simplify array and map type creation inside forName()