#167: use 'container_recording' class

Resolves #167.