Fix recording of dynamic shapes.
Add shape frame loading functions.