Add stub code for applying transforms (doesn't work yet).