[DOC-XXX][feature] - replace $context to closure in assignments