Trim excess trim().
Add support for saving data.