Code removed from RTG2.
Added code from RTG 2.0.