allow forward decls of types used as ref_ptr members
fix resize signature for virtual overrides
fix resize (for non-unity)
remove from api