fun Node.cache(op: EventTarget.() -> T) = properties.getOrPut("tornadofx.cachedNode") { op(this) } as T