Fix #2 and add stub for ParseText