Rework of message decoding for flake8.