Adding constrains to Clock.