Added support for migrations from plugins