Makes functions that expect multiple arguments accept a single array instead