Rename `max-refs` to `max_refs`