@Override public final RadialMenu build() {
        Options        options = properties.keySet().contains("options") ? ((ObjectProperty<Options>) properties.get("options")).get() : new Options();
        List<MenuItem> items;
        if (properties.keySet().contains("itemsArray")) {
            items = Arrays.asList(((ObjectProperty<MenuItem[]>) properties.get("itemsArray")).get());
        } else if (properties.keySet().contains("itemsList")) {
            items = ((ObjectProperty<List<MenuItem>>) properties.get("itemsList")).get();
        } else {
            items = new ArrayList<>();
            items.add(new MenuItem());
        }
        return new RadialMenu(options, items);
    }