Collections is not available in py26, use our own class