Adds auto discover to collection

Use def with parentheses when there are parameters.