Fix container interface usage.

Fixes #7.