Apply general code formatting