made ToolType's constructor private