Completed DOM parsing.
Moved commonly used static method "capitalize()" to StringCase class.