Adding new CheckGetIndex and CheckArrayLength methods.