Fixed some incorrect method calls
Updated .gitignore