Move element unwrapping out of ByNested constructor
Merge pull request #43 from jvervaec/issue42

Move element unwrapping out of ByNested constructor