Added getPaths and setPaths