Moved Resist Magic out of resist