Improve JavaFX bindings