Adds support for optional arguments

This has only been tested on the attiny84