Static factory methods for resolution contexts.