Removed unused scopegadgetfactory functions.