path() method has no visibility set

It's a small thing :)