Add javadoc for new methods in TextHeader