Store ModId in API for easy access.