code style: Put imports in order of inclusion.
Add encode/decodeData.
Implement Data.