Avoiding further access to properties by re-using the array cast