object to derivative hook is optional
Merge pull request #147 from willtp87/7.x.optional_object

object to derivative hook is optional