Move SyncException into package 'data'.
Reorganize code for work with custom data.