Allow passing a single inputTree