Revert "This fixes #8297.  The functions now exist to create and modify devicefunctions."

This reverts commit 8cb43558814870c80f0e6d204b31eaec37e03cfd.

This is not actually needed, since the information is going to be returned in the device.