Added source type and migration