fun MenuBar.menuItem(caption: String, icon: Resource? = null, onClick: (MenuItem) -> Unit = {}, checkable: Boolean = false, checked: Boolean = false, enabled: Boolean = true, init: MenuItem.() -> Unit = {}): <ERROR CLASS>