Change traits to actract classes to facilitate implementation implicit conversions from JFX to SFX.