Reduce code duplication.
AutoPEP8ify.