I assume :period is a string so we can sprintf on it later, right? Can you include that hint in the doc comment here?