Include index parameter in documentation.