Removes empty lists as defaults of functions. Using mutable defaults can cause very strange behavior in Python.