Add function documentation to replace_all()