Add deprecation for tool-panel class