Remove $external from the public API PYTHON-465