Set in aftermodel hook