Removed some junk functions.