Add docs.
Clean index item param.
Add index class.