Simplifies args passing.
Adds simple logging.