Improved inline documentation
Removed unused RText