Dynamic hooking of service managers for better compatibility