Is there an API to access the Device Management (DM) framework?

I am looking to setup SyncML, etc. from a S60 application in the same way as the Nokia wizard on some handsets.

Thanks,

Alex.