Removing unnecessary function.