Added options-registering system for plugins.