Optimized S classes with precompiled xpath expressions.