Almost autogenerating all the unchecked functions correctly.