added plugin management.