A couple of quick fixes

[1/2]: Fix .gitignore
[2/2]: Add note about accessing nested classes to documentation

Thanks.