Delete unneeded function.