[cleanup] Removed unused/unneeded functions.