Code beautification for object-access hook machinery.

KaiGai Kohei