Refactor code for the github style guide exercise.