Add static plugins support.

Still need to add a configuration option to disable dynamic plugins.