Added clock emitter for testing.