Make code consistent with examples.