Fixed error in parser.listDependences and parser.parse with Array as $type