Skip empty classes.
Handle data events correctly.