It is better to be explicit about the kwargs you expect rather than just use `locals()`