Adds auto discover to collection

Inconsistent indentation detected.<br>Use def with parentheses when there are parameters.