Made inventoryprovider static.