Removed function that is now unused.