Adapted to Magnum builtin type alias changes.