Fix extend example