Added support for Magnet link generation.