Added 'ReadLine' and 'WriteLine' wrappers.