Update code per recommendations in "Coding Standards" lecture.