Some fixes when posting code.