Clean up code and add instructions.