Added support for this.base with infinite levels of inheritance; fixed breaking tests for .clear().