added object context to derivative hook