Remove dependency on rmagic!