Docs fix: "types" helper function is actually named "getTypes".