Added support to multiple paths.