Added code for service types mapping and migrating.