Add leaf behavior, intermediate node behavior.