allow for partial AST trees and partial ex modules