-Fixed bug in "extends"