Implemented anonymous classes.