AMS: Format the code.