make FormatterType attribute constructor public