Pretty print defaults and rest in function

Fixes #85