Valama: Threaded building of completion proposals