Optimized helper classes.