Add @Timed support to core.