Added ctxt . CopyAsArrayRef(..)