Added missing arguments to functions.