Created various array functions.