Removed unneeded functions.