Fix missing end statement.