Fix StyleFunction type namespace