Complete refactor, removed name-based resolution, now handles parents as well (closes #5, closes #4)
Remove untested and never-executable code, remove not used exception, fix the expected exception type
Fix up the documentation blocks