Make required attributes non-nullable.