Added contextProxy trait to Hook base

Signed-off-by: Tom Wright <tom@inflatablecookie.com>