Removes empty class.
Use of transformer API.