Add undeclared methods and gitignore