Removing recursions.