Add setStatements() so caller can define a function, then set statements later.
Add setStatements() so caller can define a function, then set statements
later.

simoc/mapyrus,simoc/mapyrus,simoc/mapyrus