Little fix.
Added loading of attributes and references on root element.
Closes #16.
Merge remote-tracking branch 'refs/remotes/origin/master'