Added support for nested extend statements, removed unnecessary methods from interfaces, updated tests and READMEs