Updated .gitignore
Fixed method visibility