CustomStyle#getStyle is referred to as customStyle['getStyle'] in a few places, so it needs to be exported