Improvements to setas handling.