Few more bits of functionality, around the toData and toModel