Add macro to define arguments and main method.