Allow passing in String or Array
fix documentation