Rename RegisterFunc() to DeviceFunc().