Zigbee Multiple Endpoints incomplete docs

Hi, Im trying to add multiple endpoint support to a zigbee project.

Im using the SDK for Zigbee 2.0 but in the documentation says:

"APIs for multiple endpoints
A single endpoint is defined for the dimmable light device, just as for other standard Zigbee devices. If you want to declare a device with multiple endpoints for the application, use the following API calls to declare the endpoint list:

The endpoint list is stored as an array of the zb_af_endpoint_desc_t type. Each call to ZB_AF_DECLARE_ENDPOINT_DESC() adds an item to the ep_list_name array."

Which fails to declare ep_list_name. So I think its incomplete, can someone help me with the correct implementation?

Thanks in advance.