Fix the pulgin declaration.

Relate to issue #1405.