resolve_relative_path now requires a context for caching.