Added option to use short single param notation for api.