Added heap traversal definitions.