modulemanager: Module API functions add_item and add_feature updated to use the add_i...