Update changelog.
Code cleanup.