Improve the nested definition docs to use a more practical example