Fixes for memory and C::V connector