Improve the code quality of SignatureReader and SignatureWriter.

3 jobs for improve-signature-package in 6 minutes and 28 seconds (queued for 2 seconds)