Added and fixed some code contracts in Clip / Filter / Track.