Revert "delete class"

This reverts commit 1577d9414d4cbbe9e56404f66968a6bbc68b6952.