Add reference resolution for type applications