Added 'add_ptr' key to force creation of Ptr class.