Removed unused getAutoHeal function