Rename chain to nest