Fixed type where I set contents=None, changed back to contents=[]