Add magic_add and magic_remove settings in preperation for importmagic support