Eliminate unnecessary function.