Corrected indentations in model code