Added RPC to clock plugin