Switch error and processing body classes.