Set statementDescription and get statementDescription in legacy code