This fixes #8288.  This will store deviceFunctions.