Make plugin more extensible.