Remove unneeded function.