Removed unneeded function.