Better way of initially collapsing API index.