Removed a useless function.