Get ride of dedicated heads property. This is now handle throught a generic repo.stateheads(state) methode.
Pierre-Yves David