Refactor textlib.php