Support arg passing in resource helper.