Make ElementWrapper public to be able to use its APIs in Python scripts
Merge pull request #3115 from aparajit-pratap/libraryRegressionFix

Cross-merge from master PR #3114