The extend class is missing.

Fix example code