Add mapped setter in domain generation for collection elements.