Added new functions to Plugin interface.
Removed manually mark function.