Luci-proto-modemmanager

I am having a bit of trouble making a LuCI protocol for ModemManager. When I install the package, I go to the Interfaces section in LuCI, but none of the interfaces in LuCI are able to display.

I am presented with the error below, but I do not know how to interpret it. Are those interfaces supposed to be iterated over? Am I doing it completely wrong? I was unable to find much documentation on LuCI protocols, but I have looked over the other LuCI protocols. It seemed like I could simply copy one (I chose luci-proto-qmi) and replace the relevant parts with references to modemmanager, or mmcli, and then rename the source files. Perhaps that assumption was my mistake.

The error seems to cause LuCI from pulling any configuration information from any of the interfaces. Also, when clicking on "edit" no controls are displayed. However, the interface "mobiletest" was created, at least in uci, but it is not in /etc/config/network

network.mobileTest=interface
network.mobileTest.proto='modemmanager'

03 pm

This is the output from logread:

Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: /usr/lib/lua/luci/dispatcher.lua:478: 
Failed to execute call dispatcher target for entry 
'/admin/network/iface_status/broadband,lan,wan,wan6,wwan'.
Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: The called action terminated with an 
exception:
Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: 
/usr/lib/lua/luci/model/network.lua:781: attempt to index local 'self' (a nil value)
Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: stack traceback:
Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: 	[C]: in function 'assert'
Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: 	
/usr/lib/lua/luci/dispatcher.lua:478: in function 'dispatch'
Sun Dec  3 07:58:40 2017 daemon.err uhttpd[1164]: 	
/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

When using the web interface this is what is seen:

/usr/lib/lua/luci/dispatcher.lua:478: Failed to execute arcombine dispatcher target for 
entry '/admin/network/network/mobileTest'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/network.lua:781: attempt to index local 'self' (a nil value)
stack traceback:
	    [C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:478: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:121: in function </usr/lib/lua/luci/dispatcher.lua:120>

The source is located here. https://bitbucket.org/nickberry17/luci-proto-modemmanager/src/ed01a1287a82/protocols/luci-proto-modemmanager/?at=master