General Spider optimizations