Minor code cleanup

https://www.pivotaltracker.com/story/show/78279800