Fixed, and made consistent with other methods (array type hinting and ```config``` as parameter name).