[intermediate stage] migrations around substitutions and recommendations; added models handling all recommendations