Fix #6 - Allow to attach hooks to ObjectContext