Made a few methods private. Fixed a missing character