Removed unused generic functions.