Updated that and also added exceptions to constructor where user passes cache. Broker will not support passing cache.