mongodb wrapper properly removed from core