[Pharo-project] removing class instead of method