Migrated code to Platform 0.21.1

Not everything is done (like IT tests).