Form.setContent() mentioned in Book of Vaadin, but can't find it

In section 5.19.1 of the book of Vaadin, it says the following:

I can’t find the method setContent() available for Form instances. Is the book wrong, or am I missing something?

Thanks,
David

It seems to be an error. Window has setContent(), but Form has setLayout(), like Window had earlier.