Respect the method of target object when calling the public_folder
method