Fix argument type.

We should use the Sentence interface.
Add flags for unit tests.