Fixed private/public auto code cleanup

resharper modified some functions to private, when they shouldn't have.
I suppose it doesn't play nicely with the way Unity works. Since
Resharper probably can't see what will be calling the functions