some work on the ElementDocumentation stuff based on Sascha's new version.