add extensions for type and reference provider