Support library for inject/hook