Deleted unnecessary function.