Add functions to assign a view to a track.