Added method to generate full paths.