Move EventTarget to a file of its own.