Added public scoping and any method

Added public scoping and any method. Xcode changed the formatting but I
was to lazy to fix it.