Initial implementation of CallOrTree pattern.