Updated Extension to work with RT4.0.4.

Might work with earlier releases of RT4.