small enhancements for anonymous classes