Rewrite addclass and remove class
Implement transpose down