Add mergeParams to router initialization