Added callback function to walkTypes for testing of branch children.