Define external globals
Fix slicing of pointer to named array type