Bug 981: Removed direct access to parent fields.

Change-Id: I21389b168e2796be23d280a7152a48ddb23de67e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>