Python cache interface with object-property interface.