Missing javafx imports added.