Fixed ordering of statements.