added classMethodsInArray.