Fix warnings and update CHANGELOG