Core extensions lib with explicit patching