Now runtime event registration and emitting works