ML class stuff for syncing