Removed ToolType from API and changed potlight removal function