Adapted to Magnum and Corrade changes.