Added macro to handle options.