Fixed more methods, value from shiftGenericArrayElement/popGenericArrayElement should...