Implement #clear_statements.