Improved SetPasses API