Removed useless function.