Remove unused helper functions (thanks logging).