Handling Nullable in models