Removed a few functions that were not used in the app.