I think its broken that getPath is called without knowing the method exist,