Add cache management on command

Handlers can now be decorated with the CacheAttribute.