Remove unneeded code in Application.ts