Added support for reading <tranmission> tags and other cleaning up