Hotfix for debugging functionality.