Putting RTC methods into a library