Improvements to GL wrapper classes.