Add support for named and unnamed arguments