Added newMethodDeclaration()