Extend the support for the treepicker. Now it should possible to save the data.