Fix ordering of statements.