Adds entry/exit observer hooks