Delete some unused code in standaloneController