Array and foreach impls