Consider classifying properties

I just realized that this is a tuple, so probably int => int ... I'm not sure what MediaWiki does with that, still the str_replace seems scary to me.