restored old order of attributes (IDEA-111730)
EA-47284
more IElementType allowed for registration (EA-46744)
fix memory leak