Using [] (or any mutable object) as default arg is a recipe for problems, should use None.