Recursive loop in Freemarker added.