Removed getTextAsOpt