Removed old code from custom files