Fixing set_options to Plugin class