WIP. Fixed compile errors in TransformRecorder module.