Added the possibility to indicate an endpoint needs one or more indexes to KB (previously had 0 or more).

Closes #7