Fix #335.  Add support for method text object optional plugin.