I disagree with this approach. The idea of getAllowedSizes is being able to provide allowed sizes for different element types. Yes we only have headers, and perhaps we only ever will. But doing it the way you suggested makes this a getAllowedSizesForHeaders, and so it also follows: autoResizeHeaderElement. This is the situation we are in, but right now it's more easily extensible.