GenCode - Fixes for defaults and nullability