Add passing by Reference in BaseHook

Change-Id: I62314d92c46d2a3960dc34e681768e1c918318dd