Removing unused functions from tracks.py