Use a safer function.