Add prepareModel to Tables that generates a model with optional fields set/generated