Adding link list flexible type and other tweaks