1.1.1
2.0.0
#4 Change "$this" references to "self".
fix#4