Added enumerate function to integrate with OMV backend.