More Pythonic container interface.