Remove dublicate check for array paramters type in ClassMethod