Message filters Cache object implementation for python