Format code in Platform model.