Added an useful wrapper that can control the number of arguments passed in.