Removal of ereg functions.