Rename method to be clearer, and add comments to explain the semantics.