MDL-34472 libraries: Remove usage of get_context_instance() from core