Changed the way paramId is handled to make it easier to have nested stores