Checking isArray on provided functions in the constructor to try and gain a little performance.