possible fix for path.commonPrefix issue (#330)
allow users to specify class attributes for generated links (#331)