Unnamed root methods in auto collection

new pull request with feature change + tests for pull #11