Implement basic leaf-collector