Fix composer.
Refactor save.