Added migrations support.