Implementing the Ticker class.