Replace mutable default arguments. Fixes #24