Rewrote TracksTypes to HasTids and made some major changes to it.