Added the ability to retrieve an AccArray from a Ptr