Implements RTC module.