plugin.method bug. Closes #1503