Removed legacy code from app.