Edits from excellent feedback by @nhoffman.