Passing mutable objects as default values can lead to bugs, better to pass None and create the empty dict in the method.