Add cache item size contraints.
Fix stuff.