Use static foreach and mixins