Cleaned up examples directory
Removed deprecated methods _if, _else, _class. Fixed toString implementation