Why does StyleCollection need these changes?